const currency = require("./currency");

const currency2 = require("./currency2");
const currency3 = require("./currency3");

console.log("50 canadian dollar equals this amount of us dollars:");
console.log(currency.canadianToUs(50));
console.log("50 us dollar equals this amount of canadian dollars:");
console.log(currency.usToCanadian(50));

const curr2 = new currency2(0.5);
console.log("50 canadian dollar equals this amount of us dollars:");
console.log(curr2.canadianToUs(50));
console.log("50 us dollar equals this amount of canadian dollars:");
console.log(curr2.usToCanadian(50));

const curr3 = new currency3(0.25);
console.log("50 canadian dollar equals this amount of us dollars:");
console.log(curr3.canadianToUs(50));
console.log("50 us dollar equals this amount of canadian dollars:");
console.log(curr3.usToCanadian(50));


